﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using LcboServices.Common.Tests;

namespace LcboStoresService.Tests
{
    [TestFixture]
    public class LocalStoreDetailsPageRetriverTests
    {
        [Test]
        public void GetPageTest()
        {
            LocalStoreDetailsFilePageRetriever retriever = new LocalStoreDetailsFilePageRetriever();
            var page = retriever.RetrievePageHtml(String.Empty);
            Assert.IsNotNull(page);
            Assert.IsNotNull(page.DocumentNode);
            Assert.IsTrue(page.DocumentNode.InnerHtml.Contains("google"));
        }
    }
}
